package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * 用户通告阅读标记表 实体类
 * 表名：sys_announcement_send
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "sys_announcement_send")
public class SysAnnouncementSend implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @Id
    @Column(name = "id", length = 32)
    private String id;

    /**
     * 通告ID
     */
    @Column(name = "annt_id", length = 32)
    private String anntId;

    /**
     * 用户id
     */
    @Column(name = "user_id", length = 32)
    private String userId;

    /**
     * 阅读状态（0未读，1已读）
     */
    @Column(name = "read_flag", length = 10)
    private String readFlag;

    /**
     * 阅读时间
     */
    @Column(name = "read_time")
    private java.time.LocalDateTime readTime;

    /**
     * 创建人
     */
    @Column(name = "create_by", length = 32)
    private String createBy;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private java.time.LocalDateTime createTime;

    /**
     * 更新人
     */
    @Column(name = "update_by", length = 32)
    private String updateBy;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private java.time.LocalDateTime updateTime;

    @Override
    public String toString() {
        return "SysAnnouncementSend{" +
            "id=" + id +
            ", anntId=" + anntId +
            ", userId=" + userId +
            ", readFlag=" + readFlag +
            ", readTime=" + readTime +
            ", createBy=" + createBy +
            ", createTime=" + createTime +
            ", updateBy=" + updateBy +
            ", updateTime=" + updateTime +
        '}';
    }
}
